home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Commodities
/
Back&Front
/
lmkfile
next >
Wrap
Text File
|
1996-09-26
|
2KB
|
67 lines
#
# makefile for Commodity
#
# name of commodity
PROJECT = toBack&Front
PROJECTD = toBack&Front_D
#
# Definitions for SAS/C
#
LN = Blink
#CFLAGS = -cafs -v -d # for serial debugging
CFLAGS = -cafs -O -mt -v # for release
LFLAGS = SMALLCODE SMALLDATA NODEBUG QUIET FROM LIB:c.o
#LNLIB = LIB LIB:amiga.lib LIB:lc.lib LIB:debug.lib # for serial debugging
LNLIB = LIB LIB:amiga.lib LIB:lc.lib # for release
COMMON = myparseix
ALL: $(PROJECT) $(PROJECTD)
$(PROJECT): $(PROJECT).o $(COMMON).o lmkfile
$(LN) $(LFLAGS) $(PROJECT).o $(COMMON).o TO $(PROJECT) $(LNLIB)
$(PROJECTD): $(PROJECTD).o $(COMMON).o
$(LN) $(LFLAGS) $(PROJECTD).o $(COMMON).o TO $(PROJECTD) $(LNLIB)
$(PROJECTD).o: $(PROJECT).c
$(CC) $(CFLAGS) -dGERMAN -o$(PROJECTD).o $(PROJECT)
$(PROJECT).o: $(PROJECT).c lmkfile
$(COMMON).o: $(COMMON).c lmkfile
test:
copy ($(PROJECT)|$(PROJECT).info) ram:
copy ($(PROJECTD)|$(PROJECTD).info) ram:
install:
copy ($(PROJECT)|$(PROJECTD)) Tools:Commodities
clean:
delete ($(PROJECT)|$(PROJECTD))
delete \#?.o
FILES0 = lmkfile $(PROJECT).c $(COMMON).c
FILES1 = $(PROJECT) $(PROJECT).info $(PROJECT).doc $(PROJECT).doc.info
FILES2 = $(PROJECTD) $(PROJECTD).info $(PROJECTD).dok.info $(PROJECTD).dok
distribution: $(PROJECT) $(PROJECTD)
@copy Env:Icons/def_Document.info $(PROJECT).doc.info QUIET
@copy Env:Icons/def_Dokument.info $(PROJECTD).dok.info QUIET
@protect $(PROJECT) FLAGS rwed QUIET
@protect $(PROJECT).\#? FLAGS rwd QUIET
@protect \#?.c FLAGS rwd QUIET
@protect $(PROJECTD) FLAGS rwed QUIET
@protect $(PROJECTD).\#? FLAGS rwd QUIET
@protect lmkfile FLAGS rwd QUIET
-@delete PD:Commodities/$(PROJECT)???.L??
@lz -a a PD:Commodities/$(PROJECT) $(FILES0)
@lz -a a PD:Commodities/$(PROJECT) $(FILES1)
@lz -a a PD:Commodities/$(PROJECT) $(FILES2)
@protect PD:Commodities/$(PROJECT).l?? FLAGS rwd QUIET
@delete $(PROJECT).doc.info QUIET
@delete $(PROJECTD).dok.info QUIET
@lz v pd:Commodities/$(PROJECT)